package com.hzsoft.sys.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hzsoft.sys.entity.TblScoreManagement;
import com.hzsoft.sys.mapper.TblScoreManagementMapper;
import com.hzsoft.sys.service.TblScoreManagementService;

@Transactional
@Service("scoreManagementService")
public class TblScoreManagementServiceImpl implements TblScoreManagementService{

	private TblScoreManagementMapper tblScoreManagementMapper;
	
	public TblScoreManagementMapper getTblScoreManagementMapper() {
		return tblScoreManagementMapper;
	}
	@Autowired
	public void setTblScoreManagementMapper(
			TblScoreManagementMapper tblScoreManagementMapper) {
		this.tblScoreManagementMapper = tblScoreManagementMapper;
	}

	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return tblScoreManagementMapper.deleteByPrimaryKey(id);
	}

	public int insert(TblScoreManagement record) {
		// TODO Auto-generated method stub
		return tblScoreManagementMapper.insert(record);
	}

	public int insertSelective(TblScoreManagement record) {
		// TODO Auto-generated method stub
		return tblScoreManagementMapper.insertSelective(record);
	}

	public TblScoreManagement selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return tblScoreManagementMapper.selectByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(TblScoreManagement record) {
		// TODO Auto-generated method stub
		return tblScoreManagementMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(TblScoreManagement record) {
		// TODO Auto-generated method stub
		return tblScoreManagementMapper.updateByPrimaryKey(record);
	}

}
